﻿using System;
using System.Runtime.InteropServices;

namespace Moonlite.Modules.Editors.ImageViewer.Tga
{
    [StructLayout(LayoutKind.Sequential)]
    internal struct TgaHeader
    {
        public byte idLength;
        public byte colorMapType;
        public byte imageType;
        public ushort colorMapIndex;
        public ushort colorMapLength;
        public byte colorMapSize;
        public ushort xOrigin;
        public ushort yOrigin;
        public ushort width;
        public ushort height;
        public byte pixelSize;
        public byte flags;
    }
}
